package com.hxtec.polaris.mapper;

import com.hxtec.polaris.entity.ShopLog;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.MyMapper;

/**
 * @Author yonyong
 * @Description //操作记录
 * @Date 2020/1/3 9:43
 * @Param
 * @return
 **/
public interface ShopLogMapper extends MyMapper<ShopLog> {
    /**
     * 表中数据超过指定数量，清除之前的数据
     * @param max
     * @return
     */
    int deleteOverRows(@Param("max") int max);
}